package com.rjxy.plansystemmanagement.service;

import com.rjxy.plansystemmanagement.entity.ChargebacksInformation;

import java.util.List;

public interface ChargebacksService {
    /**
     * 查询所有退单信息
     * @return
     */
    List<ChargebacksInformation> list();

    /**
     * 根据id删除指定退单信息
     * @param id
     */
    void deleteChargeback(Integer id);

    /**
     * 添加退单信息
     * @param chargebacksInformation
     */
    void addChargeback(ChargebacksInformation chargebacksInformation);

    ChargebacksInformation getChargebackById(Integer id);
}
